package cn.bossx.org.mapper;

import cn.bossx.basic.mapper.BaseMapper;
import cn.bossx.org.domain.SystemDictionaryDetail;
import cn.bossx.org.query.SystemDictionaryDetailQuery;

import java.util.List;


public interface SystemDictionaryDetailMapper extends BaseMapper<SystemDictionaryDetail> {

    // 删除明细
    void delByTypeId(Long id);

    // 批量删除明细
    void patchDelByTypeId(List<Long> ids);

    // 抽屉分页
    Long findTotalByTypeId(SystemDictionaryDetailQuery query);
    List<SystemDictionaryDetail> findDetailByTypeId(SystemDictionaryDetailQuery query);

}
